﻿using CodeGeneratorBootstrap.ClassServices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CodeGeneratorBootstrap.Models
{
    public class DataTypeModel
    {
        public int Id { get; set; }
        public int TypeId { get; set; }
        public string Name { get; set; }

        public DataTypeModel() { }
        internal DataTypeModel(DataTypeDto dot) 
        {
            Id = dot.Id;
            TypeId = dot.TypeId;
            Name = dot.Name;
        }
    }
}
